-- GENERATED SPELL FOR [Ley Hunter] --


function spell0_4685(pUnit, Event) --@Mana Burn,n/a--
pUnit:FullCastSpellOnTarget(22189,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4685', 663, 1)
end

function Sorts_4685(pUnit, Event)
local choix_sorts_4685 = math.random(0, 0)
if choix_sorts_4685 == 0 then
pUnit:RegisterEvent('spell0_4685', 1, 1)
end
end

function mob4685_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4685', math.random(1500, 3000), 1)
end

function mob4685_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4685_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4685_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4685, 1, 'mob4685_Action')
RegisterUnitEvent(4685, 2, 'mob4685_Leave')
RegisterUnitEvent(4685, 3, 'mob4685_Kill')
RegisterUnitEvent(4685, 4, 'mob4685_Die')
